package com.husd.framework.apiDocProductAdapter.allegro;

import lombok.Data;

import java.lang.reflect.Field;
import java.util.List;

/**
 * @author shengdonghu@126.com
 * @date 2023/10/11 11:36
 */
@Data
public class AutoCodeMethod {

    private Field returnClass;
    private String methodName;
    private List<String> params;

    public AutoCodeMethod(Field returnClass, String methodName, List<String> params) {
        this.returnClass = returnClass;
        this.methodName = methodName;
        this.params = params;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getMethodName4List() {

        return this.methodName + "4List";
    }

}
